package com.example.swagger.entity;

import org.apache.ibatis.type.Alias;

import java.util.Date;

@Alias("t_userHandle")

public class t_userHandle {
    private Long id;

    private String username;

    private String passwd;

    private Date birthDay;

    public t_userHandle() {
    }

    public t_userHandle(String username, String passwd) {
        this.username = username;
        this.passwd = passwd;
    }

    public t_userHandle(Long id, String username, String passwd) {
        this.id = id;
        this.username = username;
        this.passwd = passwd;
    }

    public Date getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(Date birthDay) {
        this.birthDay = birthDay;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    @Override
    public String toString() {
        return "t_userHandle{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", passwd='" + passwd + '\'' +
                ", birthDay=" + birthDay +
                '}';
    }
}
